.head-toast {
  header {
    position: fixed;
    top: 25%;
    width: auto;
    left: 50%;
    transform:translate(-50%,-50%);
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 15px;
    border-radius: 6px;
    height: 50px;
    line-height: 50px;
    color: white;
    text-align: center;
    z-index: 1500;
    font-size: 16px;
    animation: head-toast 2.6s;
  }
  .toast-info{
    background: $sub-bg-color;
  }
  .toast-error{
    background: #d50000;
  }
}

@keyframes head-toast{
  from{
    opacity: 1;
  }
  to{
    opacity: 0;
  }
}
